<div>     
    <fieldset>
        <legend>Edita el teu event {MAIL_USUARI}</legend>
            <label id="labelData" for="Data">Data :</label>
            <input name="Data" type="text" id="Data" tabindex="1" class="data_event" value="{DATA_EVENT}" />
            <label id="labelhoraInici" for="horaInici">Hora d'inici</label>                      
            <input name="horaInici" id="horaInici" type="text" tabindex="2" onmousedown="creaPicker()" value="{HORA_INICI_EVENT}" />
            <label id="labelhoraFi" for="horaFi">Hora de finalització</label> 
            <input name="horaFi"  type="text" id="horaFi" tabindex="3" onmousedown="creaPicker()" value="{HORA_FI_EVENT}" />
            <label id="labelnomEvent" for="nomEvent">Nom event :</label>
            <input class="inputs" name="nomEvent" type="text" id="nomEvent" tabindex="4" value="{NOM_EVENT}" />
            <label id="labeltextEvent" for="textEvent">Motiu event :</label>
            <textarea name="textEvent"  id="textEvent" tabindex="5">{MOTIU_EVENT}</textarea>
            <label id="labeltipusEvent" for="tipusEvent">Veure invitats :</label>
            <select id="tipusEvent" name="tipusEvent" onchange="habilitaNoms2('{MAIL_USUARI}', '{ID_EVENT}')">
                <option value="Privat" selected="selected">No</option>
                <option value="Públic" >Si</option>
            </select>
            <div id="invitats"></div>
            <input type="hidden" id="checkbox_invitats_string" name="checkbox_invitats_string">
        <br />
        
        <form method="post" onsubmit="return revisaCamps();" action="index.php?calendari&action=UPDATE_EVENT_ACTION">
            <center>
                <input type="hidden" name="idevent" value="{ID_EVENT}">
                <input type="hidden" name="Data_editar" id="Data_editar">
                <input type="hidden" name="horaInici_editar" id="horaInici_editar">
                <input type="hidden" name="nomEvent_editar" id="nomEvent_editar">
                <input type="hidden" name="horaFi_editar" id="horaFi_editar">
                <input type="hidden" name="textEvent_editar" id="textEvent_editar">
                <input type="hidden" name="categoria_editar" id="categoria_editar">
                <input type="submit" value="Editar event">
            </center>
        </form>
        
        <form method="post" action="index.php?calendari&action=DELETE_EVENT_ACTION">
            <center>
                <input type="hidden" name="idevent" value="{ID_EVENT}">
                <input type="submit" value="Eliminar event">
            </center>
        </form>
    </fieldset>

    <label id="mostraGif" style="display: none;">
        <img src="/projecte-sintesi-dani-victor/site_media/img/ajax-loader.gif" >
    </label>

    <div id="sota" style="position: absolute;top:90%;left: 90%;">
        <button onclick="cerrarDIV('editarEvento')" id="cerrar"></button>
    </div>
</div>